package com.zhang.authoritycenter.dao.auth;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhang.authoritycenter.common.model.dao.auth.FriendRelationDO;
import com.zhang.authoritycenter.common.model.dao.auth.UserBaseDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author KingHood
 * @since 2023-12-13
 */
public interface FriendRelationMapper extends BaseMapper<FriendRelationDO> {

    /**
     * 获取好友列表
     *
     * @param userId 当前用户id
     * @return 好友列表
     * @author zfj
     * @date 2024/3/18
     */
    List<UserBaseDO> getMyFriendList(@Param("userId") Long userId);
}
